// function Car(brand, color) {
//   this.brand = brand
//   this.color = color
// }

// let bz = {
//   weight: '200kg',
// }

// Car.call(bz, 'benz', 'red')
// console.log(bz)

function Professor() {
  
}

Professor.prototype.hSkill = 'java'

var teacher = new Professor()
console.log(teacher);
Professor.prototype = {
  hSkills: 'java/js'
}
teacher.prototype.mSkill = 'html'
console.log(techer);
var teacher2 = new Professor()
console.log(teacher2);
